package com.h6.crm.util;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class Constant {

    /**
     * 公司简称
     *
     */
    public static final String _COMPANY = "KLG";

    /**
     * 请求头用户Key
     *
     */
    public static final String HEADER_USER_KEY = "User-ID";

    /**
     * 响应头用户信息
     *
     */
    public static final String HEADER_USER_ISADMIN = "User-ISADMIN";

    /**
     * 客户编码前缀
     *
     */
    public static final String CLIENTY_CODE = "KH";

    /**
     * 上传路径
     *
     */
    public static final String UPLOAD_PATH = "/upload/";

    /**
     * 附件类型
     *
     */
    public static final int ATTACHMENT_QUOTE = 1;
    public static final int ATTACHMENT_CONTRACT = 2;
    public static final int ATTACHMENT_FOLLOW = 3;

    /**
     * 特殊账号ID
     * HACK
     *
     */
    public static List<Integer> ADMIN_ACCOUNT_LIST = Collections.unmodifiableList(Arrays.asList(1, 2, 93));

    /**
     * 项目状态枚举
     *
     */
    public static final String PROJECT_STATUS1 = "进行中";
    public static final String PROJECT_STATUS2 = "签约";
    public static final String PROJECT_STATUS3 = "终止";

    /**
     * 报价状态枚举 失效，生效，审批中，审批不通过，审批通过，成交
     *
     */
    public static final String QUOTE_STATUS1 = "生效";
    public static final String QUOTE_STATUS2 = "成交";
    public static final String QUOTE_STATUS3 = "失效";
    public static final String QUOTE_STATUS4 = "审批中";
    public static final String QUOTE_STATUS5 = "审批不通过";
    public static final String QUOTE_STATUS6 = "审批通过";

    /**
     * 合同状态枚举 履行中，终止，履行完成
     * 合同付款状态枚举 已付款，未付款
     *
     */
    public static final String CONTRACT_STATUS1 = "履行中";
    public static final String CONTRACT_STATUS2 = "终止";
    public static final String CONTRACT_STATUS3 = "履行完成";
    public static final String PAYMENT_STATUS1 = "未付款";
    public static final String PAYMENT_STATUS12 = "已付款";

}
